package library.and.xps.com.step.view.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;

import library.and.xps.com.step.R;
import library.and.xps.com.step.util.CommonUtils;
import library.and.xps.com.step.view.activity.WorkOutActivity;

public class OutDoorFragment extends Fragment {
    Button run;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_outdoor, container, false);
        run = (Button) view.findViewById(R.id.bt_run);
        run.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                CommonUtils.AppStartActivity(getActivity(), WorkOutActivity.class);
            }
        });

        return view;
    }

    void init() {

    }
}
